import Layout from '@/layout'


export default {
  path: '/department',
  component: Layout,   // 布局组件是一级路由组件
  name: 'department',
  children: [
    {
      name: 'department',
      path: '',    // 二级路由地址为空时，/department 默认展示一级路由 + 二级路由
      component: () => import('@/views/department'),
      meta: {
        icon: 'tree',  // 侧边栏导航图标
        title: '组织'  // 侧边栏导航标题
      }
    }
  ]
}